You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > Statistics Class > Statistics Methods > Statistics.InterQuartile Method
Dew Stats for .NET
ContentsIndexHome
Example

Calculate the IQR for given values.

using Dew.Math; using Dew.Stats.Units; using Dew.Stats; namespace Dew.Examples { private void Example() { Vector a = new Vector(0); a.SetIt(false, new double[] {2,0.1,3,4}); double res = Statistics.InterQuartile(a,TPercentileMethod.pctMethodNMinus); // Res = 1.725 //Excel convention } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.